cody - HTMLify profile

cody
4270 Files
632903 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/208 - Pig Dice Game
# Pig Game (JavaScript)
Welcome to the Pig Game! This simple web-based game allows two players to take turns rolling dice and competing for victory. It's a fun and interactive way to challenge your luck and strategy as you aim to reach the target score.

## Table of Contents
Welcome to the Pig Game! This simple web-based game allows two players to take turns rolling dice and competing for victory. It's a fun and interactive way to challenge your luck and strategy as you aim to reach the target score.

## Table of Contents
`use strict`;
const diceFaces = document.getElementById("diceFaces");
const newGame = document.getElementById("newGame");
const rollDice = document.getElementById("rollDice");
const hold = document.getElementById("hold");
const player1 = {
const diceFaces = document.getElementById("diceFaces");
const newGame = document.getElementById("newGame");
const rollDice = document.getElementById("rollDice");
const hold = document.getElementById("hold");
const player1 = {
@import url("https://fonts.googleapis.com/css2?family=Aboreto&family=DynaPuff&display=swap");
html {
box-sizing: border-box;
}
body {
margin: 0px 0px 0px 0px;
height: 100vh;
html {
box-sizing: border-box;
}
body {
margin: 0px 0px 0px 0px;
height: 100vh;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pig Game</title>
<link rel="stylesheet" href="style.css" />
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pig Game</title>
<link rel="stylesheet" href="style.css" />